package signAction;

import java.util.List;

import signBean.AdminDbManager;

public class AdminShowPeopleAction {
	private String id;
	private List list;
	private String sid;
	private String uid;
	
	public String execute(){
		AdminDbManager ad = new AdminDbManager();
		list = ad.getPeople(id);
		System.out.println(id);
		this.setUid(id);
		setSid(Integer.toString(list.size()));
		
		return "showpeople";
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public List getList() {
		return list;
	}
	public void setList(List list) {
		this.list = list;
	}
	public String getSid() {
		return sid;
	}
	public void setSid(String sid) {
		this.sid = sid;
	}
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	
	

}
